package com.jy.api.exception;

import lombok.Getter;

/**
 * Created by xiaohua on 2018/11/12.
 */
@Getter
public enum ExceptionEnum {
    IS_BUSY(400, "正在为他人服务,请稍后再试"),
    IS_NULL(400,"该呼叫不存在，请刷新后重试");
    private Integer code;

    private String message;

    ExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }



}
